package com.zjw.zy.utils;

import android.media.AudioRecord;
import android.media.AudioRouting;
import android.os.Handler;
import android.os.Looper;

/**
 * @author ：zhong.jw
 * @date ：Created in 2022/12/12 17:00
 */
public class VoiceChatUtils {

    public static void startChat() {

//        AudioRecord audioRecord = new AudioRecord(10000, 10, 10, 10, 10);
//
//
//        audioRecord.addOnRoutingChangedListener(new AudioRouting.OnRoutingChangedListener() {
//            @Override
//            public void onRoutingChanged(AudioRouting router) {
//                router.getRoutedDevice().get
//            }
//        }, new Handler(Looper.getMainLooper()));
//
//


    }
}
